// 零售终端销售单路由配置文件

const tsoRoutes = [{
        path: 'Retail',
        component: () =>
            import('@/views/Retail'),
        redirect: "Retail/TerminalSales",
        children: [{
            path: "TerminalSales",
            component: () =>
                import('@/views/Retail/TerminalSales'),
        }, 
        {
            path: "TerminalReturn",
            component: () =>
                import('@/views/Retail/TerminalReturn'),
        }, 
        {
            path: "ShoppingSales",
            component: () =>
                import('@/views/Retail/ShoppingSales'),
        }, 
        {
            path: "DetailsOfTerminalSales",
            component: () =>
                import('@/views/Retail/DetailsOfTerminalSales'),
        }, 
        {
            path: "TerminalCashierDetails",
            component: () =>
                import('@/views/Retail/TerminalCashierDetails'),
        }, 
        {
            path: "TerminalSalesSummary",
            component: () =>
                import('@/views/Retail/TerminalSalesSummary'),
        }, 
        {
            path: "TerminalCashierSummary",
            component: () =>
                import('@/views/Retail/TerminalCashierSummary'),
        }, 
        {
            path: "TerminalRefundSummary",
            component: () =>
                import('@/views/Retail/TerminalRefundSummary'),
        }, 
    
    
    
    ]
    },
    {
        path: '/Retail/:itemId',
        component: () =>
            import('@/views/Retail/detail')
    }
]

export default tsoRoutes;